package day03;

public class OperDemo2 {
    public static void main(String[] args) {
     /*   int a=5,b=10,c=5;
        boolean b1 = a>b;
        System.out.println(b1);//false
        System.out.println(c<b);//true
        System.out.println(a>=c);//true
        System.out.println(a<=b);//true
        System.out.println(a==c);//true
        System.out.println(a!=c);//false
        System.out.println("-------");
        System.out.println(a%2==0);//false
        System.out.println(a+c>b);//false
        System.out.println(a++>5);//false-------执行完后a自增1，变6
        System.out.println(a++>5);//true (a++ --> 6 >5)  执行完a自增1变7

      */

        int a=10,b=20,c=30;
        System.out.println(a==b);//f
        System.out.println(a+b==c);//t
        System.out.println(c-b==a);//t
        System.out.println(a+b!=c);//f
        System.out.println(a++>b);//f   11
        System.out.println(a++ +b==c);//f     11+20=31


    }
}
